{extend name="base" /}
{block name="body"}
<div class="layui-body">
    <!--tab标签-->
    <div class="layui-tab layui-tab-brief">
        <ul class="layui-tab-title">
            <li class="layui-this">抽奖概率设置</li>
        </ul>
        <div class="layui-tab-content">
            
            <blockquote class="layui-elem-quote">注意哈！  以下概率设置请每组尽可能设置成100份　   例如：+的概率是10  　　那么-的概率就是90 以此类推</blockquote>
            
            <div class="layui-tab-item layui-show">
                <form class="layui-form form-container" action="{:url('admin/draw/index')}" method="post">
                    <fieldset class="layui-elem-field">
                        <legend>+ -概率设置</legend>
                        <div class="layui-field-box">
                            <div class="layui-form-item">
                                <label class="layui-form-label">+</label>
                                <div class="layui-input-block">
                                    <input type="text" name="jia" value="{$draw.jia}" required  lay-verify="required" placeholder="1为1%概率  10为10%概率 以此类推 " autocomplete="off" class="layui-input">
                                </div>
                            </div>
                          <div class="layui-form-item">
                                <label class="layui-form-label">-</label>
                                <div class="layui-input-block">
                                    <input type="text" name="jian" value="{$draw.jian}" placeholder="1为1%概率  10为10%概率 以此类推" autocomplete="off" class="layui-input">
                                </div>
                            </div>
                        </div>
                    </fieldset>
                    
                    
                     <fieldset class="layui-elem-field">
                        <legend>第一个框1 - 9 概率设置</legend>
                        <div class="layui-field-box">
                            <div class="layui-form-item">
                                <label class="layui-form-label">1</label>
                                <div class="layui-input-block">
                                    <input type="text" name="first[]" value="{$draw.first.0}" required  lay-verify="required" placeholder="1为1%概率  10为10%概率 以此类推 " autocomplete="off" class="layui-input">
                                </div>
                            </div>
                          <div class="layui-form-item">
                                <label class="layui-form-label">2</label>
                                <div class="layui-input-block">
                                    <input type="text" name="first[]" value="{$draw.first.1}" placeholder="1为1%概率  10为10%概率 以此类推" autocomplete="off" class="layui-input">
                                </div>
                            </div>
                        </div>
                        <div class="layui-field-box">
                            <div class="layui-form-item">
                                <label class="layui-form-label">3</label>
                                <div class="layui-input-block">
                                    <input type="text" name="first[]" value="{$draw.first.2}" required  lay-verify="required" placeholder="1为1%概率  10为10%概率 以此类推 " autocomplete="off" class="layui-input">
                                </div>
                            </div>
                          <div class="layui-form-item">
                                <label class="layui-form-label">4</label>
                                <div class="layui-input-block">
                                    <input type="text" name="first[]" value="{$draw.first.3}" placeholder="1为1%概率  10为10%概率 以此类推" autocomplete="off" class="layui-input">
                                </div>
                            </div>
                        </div>
                        <div class="layui-field-box">
                            <div class="layui-form-item">
                                <label class="layui-form-label">5</label>
                                <div class="layui-input-block">
                                    <input type="text" name="first[]" value="{$draw.first.4}" required  lay-verify="required" placeholder="1为1%概率  10为10%概率 以此类推 " autocomplete="off" class="layui-input">
                                </div>
                            </div>
                          <div class="layui-form-item">
                                <label class="layui-form-label">6</label>
                                <div class="layui-input-block">
                                    <input type="text" name="first[]" value="{$draw.first.5}" placeholder="1为1%概率  10为10%概率 以此类推" autocomplete="off" class="layui-input">
                                </div>
                            </div>
                        </div>
                        <div class="layui-field-box">
                            <div class="layui-form-item">
                                <label class="layui-form-label">7</label>
                                <div class="layui-input-block">
                                    <input type="text" name="first[]" value="{$draw.first.6}" required  lay-verify="required" placeholder="1为1%概率  10为10%概率 以此类推 " autocomplete="off" class="layui-input">
                                </div>
                            </div>
                          <div class="layui-form-item">
                                <label class="layui-form-label">8</label>
                                <div class="layui-input-block">
                                    <input type="text" name="first[]" value="{$draw.first.7}" placeholder="1为1%概率  10为10%概率 以此类推" autocomplete="off" class="layui-input">
                                </div>
                            </div>
                        </div>
                        <div class="layui-field-box">
                            <div class="layui-form-item">
                                <label class="layui-form-label">9</label>
                                <div class="layui-input-block">
                                    <input type="text" name="first[]" value="{$draw.first.8}" required  lay-verify="required" placeholder="1为1%概率  10为10%概率 以此类推 " autocomplete="off" class="layui-input">
                                </div>
                            </div>
                    </fieldset>
                    
                    
                    <fieldset class="layui-elem-field">
                        <legend>第二个框1 - 9 概率设置</legend>
                        <div class="layui-field-box">
                            <div class="layui-form-item">
                                <label class="layui-form-label">1</label>
                                <div class="layui-input-block">
                                    <input type="text" name="two[]" value="{$draw.two.0}" required  lay-verify="required" placeholder="1为1%概率  10为10%概率 以此类推 " autocomplete="off" class="layui-input">
                                </div>
                            </div>
                          <div class="layui-form-item">
                                <label class="layui-form-label">2</label>
                                <div class="layui-input-block">
                                    <input type="text" name="two[]" value="{$draw.two.1}" placeholder="1为1%概率  10为10%概率 以此类推" autocomplete="off" class="layui-input">
                                </div>
                            </div>
                        </div>
                        <div class="layui-field-box">
                            <div class="layui-form-item">
                                <label class="layui-form-label">3</label>
                                <div class="layui-input-block">
                                    <input type="text" name="two[]" value="{$draw.two.2}" required  lay-verify="required" placeholder="1为1%概率  10为10%概率 以此类推 " autocomplete="off" class="layui-input">
                                </div>
                            </div>
                          <div class="layui-form-item">
                                <label class="layui-form-label">4</label>
                                <div class="layui-input-block">
                                    <input type="text" name="two[]" value="{$draw.two.3}" placeholder="1为1%概率  10为10%概率 以此类推" autocomplete="off" class="layui-input">
                                </div>
                            </div>
                        </div>
                        <div class="layui-field-box">
                            <div class="layui-form-item">
                                <label class="layui-form-label">5</label>
                                <div class="layui-input-block">
                                    <input type="text" name="two[]" value="{$draw.two.4}" required  lay-verify="required" placeholder="1为1%概率  10为10%概率 以此类推 " autocomplete="off" class="layui-input">
                                </div>
                            </div>
                          <div class="layui-form-item">
                                <label class="layui-form-label">6</label>
                                <div class="layui-input-block">
                                    <input type="text" name="two[]" value="{$draw.two.5}" placeholder="1为1%概率  10为10%概率 以此类推" autocomplete="off" class="layui-input">
                                </div>
                            </div>
                        </div>
                        <div class="layui-field-box">
                            <div class="layui-form-item">
                                <label class="layui-form-label">7</label>
                                <div class="layui-input-block">
                                    <input type="text" name="two[]" value="{$draw.two.6}" required  lay-verify="required" placeholder="1为1%概率  10为10%概率 以此类推 " autocomplete="off" class="layui-input">
                                </div>
                            </div>
                          <div class="layui-form-item">
                                <label class="layui-form-label">8</label>
                                <div class="layui-input-block">
                                    <input type="text" name="two[]" value="{$draw.two.7}" placeholder="1为1%概率  10为10%概率 以此类推" autocomplete="off" class="layui-input">
                                </div>
                            </div>
                        </div>
                        <div class="layui-field-box">
                            <div class="layui-form-item">
                                <label class="layui-form-label">9</label>
                                <div class="layui-input-block">
                                    <input type="text" name="two[]" value="{$draw.two.8}" required  lay-verify="required" placeholder="1为1%概率  10为10%概率 以此类推 " autocomplete="off" class="layui-input">
                                </div>
                            </div>
                    </fieldset>
                    
                    <div class="layui-form-item">
                        <div class="layui-input-block">
                            <button class="layui-btn" lay-submit lay-filter="*">提交</button>
                            <button type="reset" class="layui-btn layui-btn-primary">重置</button>
                        </div>
                    </div>
                </form>
            </div>
        </div>
    </div>
</div>
{/block}